package com.ang.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author ssang
 * @date 2022-01-12 15:51
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "oauth.weixin")
public class WeChatConfig {
    //微信公众平台的应用id
    private String appID;
    //微信公众平台的应用秘钥
    private String appsecret;
    //获取授权码的URL
    private String authorizeUrl;
    //获取令牌的URL
    private String tokenUrl;
    //获取用户信息的URL
    private String userInfoUrl;
    //回调地址的URL
    private String backUrl;
}
